package com.qianbao.domain.sms;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class SVVerfiySmsCodeEntity implements Serializable {

    @NotNull(message = "手机号不能为空")
    private String phone; // 手机号

    @NotNull(message = "验证码不能为空")
    private String code; // 验证码

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "SVVerfiySmsCodeEntity{" +
                "phone='" + phone + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
